package com.baike.mapper;

import com.baike.entity.TbContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author x_FG
 * @since 2021-10-30
 */
public interface TbContentMapper extends BaseMapper<TbContent> {

    int updateStatusInfo(@Param("id") Integer id,@Param("status") Integer status);

//    List<Date> selectCreate(Integer id);

    TbContent selectCreateById(Integer id);

    List<TbContent> selectCreate(Integer id);

    List<TbContent> selectFrontList(String format);

    TbContent selectFrontLists(String format);

//    Date selectCreateById(Integer id);
}
